package com.foreknow.entity;

import java.io.Serializable;

public class Department implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 科室编码
     *
     * @mbggenerated
     */
    private String deptcode;

    /**
     * 科室名称
     *
     * @mbggenerated
     */
    private String deptname;

    /**
     * 科室分类
     *
     * @mbggenerated
     */
    private Integer deptcategoryid;

    /**
     * 科室类型
     *
     * @mbggenerated
     */
    private Integer depttype;

    /**
     * 删除标记
     *
     * @mbggenerated
     */
    private Integer delmark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Integer getDeptcategoryid() {
        return deptcategoryid;
    }

    public void setDeptcategoryid(Integer deptcategoryid) {
        this.deptcategoryid = deptcategoryid;
    }

    public Integer getDepttype() {
        return depttype;
    }

    public void setDepttype(Integer depttype) {
        this.depttype = depttype;
    }

    public Integer getDelmark() {
        return delmark;
    }

    public void setDelmark(Integer delmark) {
        this.delmark = delmark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deptcode=").append(deptcode);
        sb.append(", deptname=").append(deptname);
        sb.append(", deptcategoryid=").append(deptcategoryid);
        sb.append(", depttype=").append(depttype);
        sb.append(", delmark=").append(delmark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}